<?php
$CI = & get_instance();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><?php echo $CI->template_model->gettitle(); ?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=0.5, target-densitydpi=device-dpi, user-scalable=no">
    </head>
    <body>
        <link rel="stylesheet" type="text/css" href="/template/default/css/menu.css" />
        <div align="center">
            <div id="wrap">
                <div align="center">
                    <div id="user">
                        <?php echo $CI->user_model->printUserData(); ?>
                    </div>
                </div>
                <div align="center">
                    <nav class="topmenu">
                        <?php echo $CI->module_model->carregar('topmenu'); ?>
                    </nav>
                </div>
                <div  class="sidebar">                             
                    <?php echo $CI->module_model->carregar('menu1'); ?>
                </div>
                <div align="center">
                    <div id="content">
                        <?php echo $CI->template_model->loadcontent(); ?>
                    </div>
                </div>
                <div align="center">
                    <div id="footer">
                        <?php echo $CI->module_model->carregar('footer'); ?>
                    </div>
                </div>
            </div>
        </div>
    </body>